package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * distribution_install-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class DistributionInstall extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 分销级别配置
	 */
	@ApiModelProperty(value = "分销级别配置")
	 private String distriSetting;
	/**
	 * 来源类型 0：商品 1：活动
	 */
	@ApiModelProperty(value = "来源类型 0：商品 1：活动")
	 private Integer fromType;
	/**
	 * 来源唯一标识 类型为商品时为商品ID 类型为活动时为活动ID
	 */
	@ApiModelProperty(value = "来源唯一标识 类型为商品时为商品ID 类型为活动时为活动ID")
	 private Long fromId;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")	
	 private Timestamp createTime;
	/**
	 * 状态 0：有效 1：无效
	 */
	@ApiModelProperty(value = "状态 0：有效 1：无效")
	 private Integer status;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	 private String remark;
    
    public DistributionInstall(){
    
    }
    
    public String getDistriSetting() {
        return this.distriSetting;
    }
    
    public void setDistriSetting(String distriSetting) {
        this.distriSetting = distriSetting;
    }
    public Integer getFromType() {
        return this.fromType;
    }
    
    public void setFromType(Integer fromType) {
        this.fromType = fromType;
    }
    public Long getFromId() {
        return this.fromId;
    }
    
    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

}